package org.example.jiaxiao.service.impl;

import org.example.jiaxiao.entity.Account;
import org.example.jiaxiao.mapper.ViewProfileMapper;
import org.example.jiaxiao.service.ViewProfileService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ViewProfileServiceImpl implements ViewProfileService {

    @Autowired
    private ViewProfileMapper viewProfileMapper;

    @Override
    public Account getPersonalCente(Long accountNumber) {
        return viewProfileMapper.getPersonalCente(accountNumber);
    }
}
